import { createWebHistory, createRouter } from 'vue-router'

import Start from '@/pages/start/index.vue'
import Index from '@/pages/index/index.vue'
import My from '@/pages/my/index.vue'

const routes = [
  { path: '/', component: Start },
  { path: '/index', component: Index },
  { path: '/my', component: My },
  // { path: '/tab3/:groupId/:id', component: Tab3 },
]

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router